<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
{#todo 试试不同的url写法#}
{#<form action="/bookai/addbook/">#}
{#<form action="{% url "addbook" %}" method="post">#}
<form  method="post">
    {% csrf_token %}
    书名: <input type="text" name="name" placeholder="记得写书名">
    <br>
    价格: <input type="text" name="price" placeholder="价格">
    <br>
    ISBN编号: <input type="text" name="isbn_no" placeholder="ISBN">
    <br>
    录入人: <input type="text" name="enterperson" placeholder="你的名字">
    <br>
    <input type="submit" value="提交">
</form>
</body>
</html>